package com.tpo.jnotes.client.layer.controller.commands;

import com.tpo.jnotes.client.lib.action.ICommand;
import com.tpo.jnotes.client.lib.interfaces.IController;

public class AddCommand implements ICommand
{
    public static final String ADD = "ADD_COMMAND";

    private final IController controller;

    public AddCommand( IController controller )
    {
        this.controller = controller;
    }

    @Override
    public void execute()
    {
        controller.add();
    }

}
